﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageMcSigAdmin.master" AutoEventWireup="true" CodeFile="Mintransporte.aspx.cs" Inherits="Mintransporte" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type="text/javascript" languaje="javascript">
    function Asignar() {
        var iframe = document.getElementById('iframe1');

        //var input= iframe.contentWindow.document.getElementById('dnn_ctr410_Login_myProcess_Login_myProcess_txtmyUsername');
        var input = iframe.getElementsByTagName('dnn_ctr410_Login_myProcess_Login_myProcess_txtmyUsername'); // .contentWindow.document.getElementById('dnn_ctr410_Login_myProcess_Login_myProcess_txtmyUsername').innerHTML = "123";
        input.value = "13";
        alert(input.value);
    }
</script>
    <table style="width: 100%;">
        <tr>
            <td width="10%">
                <strong>Usuario</strong>:
                <asp:Label ID="lblUsuario" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                <strong>Clave</strong>:
                <asp:Label ID="lblClave" runat="server" Text="Label"></asp:Label>
            </td>
            
        </tr>
        <tr>
            <td colspan=2>
               
                
               <iframe id="iframe1" src="http://rndc.mintransporte.gov.co/es-mx/menúprincipal.aspx" 
        height="600px" width="100%"></iframe>
            </td>
            
            
        </tr>
    </table>
 
</asp:Content>

